<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css">
<script src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/static/js/pintuer.js"></script>
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery-1.4.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="../static/plugin/zTree_v3/css/zTreeStyle/zTreeStyle.css">
<script type="text/javascript" src="../static/plugin/zTree_v3/js/jquery.ztree.all.min.js"></script>

</head>
<body>

<div class="panel admin-panel">

  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改参合农民家庭档案</strong></div>
  
  <div class="body-content">
   
    <form method="post" class="form-x" action="${pageContext.request.contextPath}/sys/family.do?method=editFamilyAndHolder&tgId=${tgId}&pageNum=1">  
    	<!-- 县级 -->
      <div class="form-group">
        <div class="label">
          <label>请选择所在县</label>
        </div>
        <div class="field">
         
         	<select id="areaContry" name="areaContry" style="padding:5px 15px; border:1px solid #ddd;" data-validate="required:请选择县">
            <option value="${family.contryCode }">${contryName }</option>
          
          	</select>
          	
          <div class="tips"></div>
        </div>
      </div>
      <!-- 镇级 -->
      <div class="form-group">
        <div class="label">
          <label>请选择所在乡镇</label>
        </div>
        <div class="field">
         	<select id="areaTown" name="areaTown" style="padding:5px 15px; border:1px solid #ddd;"  data-validate="required:请选择乡镇">
            <option value="${family.townCode }">${townName }</option>
          	</select>
          <div class="tips"></div>
        </div>
      </div>
      <!-- 村级 -->
      <div class="form-group">
        <div class="label">
          <label>请选择所在村</label>
        </div>
        <div class="field">
         	<select id="areaVillage" name="areaVillage" style="padding:5px 15px; border:1px solid #ddd;"  data-validate="required:请选择村">
            <option value="${family.villageCode }">${valligeName }</option>
            
          	</select>
          <div class="tips"></div>
        </div>
      </div>
      <!-- 组级 -->
      <div class="form-group">
        <div class="label">
          <label>请选择所在组</label>
        </div>
        <div class="field">
         	<select  id="areaGroup" name="groupArea" style="padding:5px 15px; border:1px solid #ddd;" data-validate="required:请选择组">
            
            <option value="${family.groupCode }">${ groupName}</option>
          
          	</select>
          <div class="tips"></div>
        </div>
      </div>
      <input id="familyCode" type="hidden" class="input w50" value="${family.familyCode }" name="familyCode"/>
      <!-- <div class="form-group">
        <div class="label">
          <label>家庭编号</label>
        </div>
        
        <div class="field">
          <input id="familyCode" type="text" class="input w50" value="" name="familyCode" data-validate="required:家庭编号" onchange="doVerify()"/>
          <div class="tips" id="display"></div>
        </div>
      </div> -->
      
      <div class="form-group">
        <div class="label">
          <label>户属性</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.familyProperty}" name="familyProperty" data-validate="required:请输入户属性" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>户主姓名</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.familyHolder}" name="familyHolder" data-validate="required:请输入户主姓名" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>家庭人口数</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.familyPersonCounts}" name="familyPersonCounts" data-validate="required:请输入家庭人口数" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>农业人口数</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.agriculturePersonCounts}" name="agriculturePersonCounts" data-validate="required:请输入农业人口数" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>家庭住址</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.familyAddress}" name="familyAddress" data-validate="required:请输入家庭住址" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>创建档案时间</label>
        </div>
        
        <div class="field">
          <input type="date" class="input w50" value="${family.createRchivesTime}" name="createRchivesTime" data-validate="required:请输入创建档案时间" />
          <div class="tips"></div>
        </div>
      </div>
      
       <div class="form-group">
        <div class="label">
          <label>登记员</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="${family.registrarer}" name="Registrarer" data-validate="required:请输入登记员" />
          <div class="tips"></div>
        </div>
      </div>
      
      <!-- 户主信息 -->
     <!--  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加户主信息</strong></div>
      <div class="body-content">
       <div class="form-group">
        <div class="label">
          <label>户内编号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="familyInCode" data-validate="required:请输入户内编号" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>户主姓名</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="institutionname" data-validate="required:请输入农合机构名称" />
          <div class="tips"></div>
        </div>
      </div>
      <input type="hidden" name="holderRelation" value="户主" />
       <div class="form-group">
        <div class="label">
          <label>身份证号</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="idcardNumber" data-validate="required:请输入身份证号" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>性别</label>
        </div>
        
        <div class="field">
        	
          	男<input type="radio" value="1" name="Sex" checked="checked"/>
       		女<input type="radio" value="2" name="Sex"/>
          <div class="tips">
          </div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>出生日期</label>
        </div>
        
        <div class="field">
          <input type="date" class="input w50" value="" name="Birthday" data-validate="required:请输入出生日期" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>民族</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="Nation" data-validate="required:请输入民族" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>健康状况</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="Health" data-validate="required:请输入健康状况" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>文化程度</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="cultrueDegree" data-validate="required:请输入文化程度" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>人员属性</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="personProperty" data-validate="required:请输入人员属性" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>是否农业户口</label>
        </div>
        
        <div class="field">
          农业户口<input type="radio" value="1" name="isContryside" checked="checked"/>
          城镇户口<input type="radio" value="2" name="isContryside">
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>婚姻状况</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="isMarry" data-validate="required:请输入婚姻状况" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>工作单位</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="workAddress" data-validate="required:请输入工作单位" />
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>联系电话</label>
        </div>
        
        <div class="field">
          <input type="text" class="input w50" value="" name="phoneNumber" data-validate="required:请输入联系电话" />
          <div class="tips"></div>
        </div>
      </div> -->
      
      
      
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
        </div>
        </form>
      </div> 
     
	  
   
  </div>
 


</body>
</html>